'use strict';

module.exports = app => {
  app.get('/', app.controller.home.index);
  app.get('/wechat',app.middlewares.weixin(),app.controller.home.wechat);
  app.post('/wechat',app.middlewares.weixin(),app.controller.home.wechat);
};
